package proxy02;

import org.junit.Test;

public class Demo {
	@Test
	public void testEat() {
		LaoWangProxy lwp = new LaoWangProxy(new LaoWang());
		lwp.eat();
	}

	@Test
	public void testPlay() {
		LaoWangProxy lwp = new LaoWangProxy(new LaoWang());
		lwp.play();
	}
	@Test
	public void testSleep() {
		LaoWangProxy lwp = new LaoWangProxy(new LaoWang());
		lwp.sleep();
	}
}
